DimenFillSp

EN Utility object for handling SSP (Scalable Sp) dimensions from Java.

PT Objeto utilitário para manipulação de dimensões SSP (Scalable Sp) no Java.

Functions

Link copied to clipboard
fun flhsp(context: Context, value: Int): Float

EN Quick resolution for Screen Height (flhsp). PT Resolução rápida para Altura da Tela (flhsp).

Link copied to clipboard
fun flhspa(context: Context, value: Int): Float
Link copied to clipboard
fun flhspi(context: Context, value: Int): Float
Link copied to clipboard
fun flhspia(context: Context, value: Int): Float
Link copied to clipboard
fun flhspLw(context: Context, value: Int): Float

EN Quick resolution for Screen Height (flhsp), but in landscape orientation it acts as Screen Width (flwsp).

Link copied to clipboard
fun flhspLwa(context: Context, value: Int): Float
Link copied to clipboard
fun flhspLwi(context: Context, value: Int): Float
Link copied to clipboard
fun flhspLwia(context: Context, value: Int): Float
Link copied to clipboard
fun flhspMode(context: Context, value: Int, modeValue: Number, uiModeType: UiModeType, finalQualifierResolver: DpQualifier? = null, fontScale: Boolean = true, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): Float

EN Facilitator for Screen Height (flhsp) with UiModeType override.

Link copied to clipboard
fun flhspPw(context: Context, value: Int): Float

EN Quick resolution for Screen Height (flhsp), but in portrait orientation it acts as Screen Width (flwsp).

Link copied to clipboard
fun flhspPwa(context: Context, value: Int): Float
Link copied to clipboard
fun flhspPwi(context: Context, value: Int): Float
Link copied to clipboard
fun flhspPwia(context: Context, value: Int): Float
Link copied to clipboard
fun flhspQualifier(context: Context, value: Int, qualifiedValue: Number, qualifierType: DpQualifier, qualifierValue: Number, finalQualifierResolver: DpQualifier? = null, fontScale: Boolean = true, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): Float

EN Quick resolution for Screen Height (hSP) conditional scaling.

Link copied to clipboard
fun flhspRotate(context: Context, value: Int, rotationValue: Number, finalQualifierResolver: DpQualifier = DpQualifier.HEIGHT, orientation: Orientation = Orientation.LANDSCAPE, fontScale: Boolean = true, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): Float

EN Facilitator for Screen Height (flhsp) with rotation override.

Link copied to clipboard
fun flhspScreen(context: Context, value: Int, screenValue: Number, uiModeType: UiModeType, qualifierType: DpQualifier, qualifierValue: Number, finalQualifierResolver: DpQualifier? = null, fontScale: Boolean = true, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): Float

EN Quick resolution for Screen Height (hSP) context conditional scaling.

Link copied to clipboard
fun flssp(context: Context, value: Int): Float

EN Quick resolution for Smallest Width (flssp). PT Resolução rápida para Smallest Width (flssp).

Link copied to clipboard
fun flsspa(context: Context, value: Int): Float
Link copied to clipboard
fun flsspi(context: Context, value: Int): Float
Link copied to clipboard
fun flsspia(context: Context, value: Int): Float
Link copied to clipboard
fun flsspLh(context: Context, value: Int): Float

EN Quick resolution for Smallest Width (flssp), but in landscape orientation it acts as Screen Height (flhsp).

Link copied to clipboard
fun flsspLha(context: Context, value: Int): Float
Link copied to clipboard
fun flsspLhi(context: Context, value: Int): Float
Link copied to clipboard
fun flsspLhia(context: Context, value: Int): Float
Link copied to clipboard
fun flsspLw(context: Context, value: Int): Float

EN Quick resolution for Smallest Width (flssp), but in landscape orientation it acts as Screen Width (flwsp).

Link copied to clipboard
fun flsspLwa(context: Context, value: Int): Float
Link copied to clipboard
fun flsspLwi(context: Context, value: Int): Float
Link copied to clipboard
fun flsspLwia(context: Context, value: Int): Float
Link copied to clipboard
fun flsspMode(context: Context, value: Int, modeValue: Number, uiModeType: UiModeType, finalQualifierResolver: DpQualifier? = null, fontScale: Boolean = true, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): Float

EN Facilitator for Smallest Width (flssp) with UiModeType override.

Link copied to clipboard
fun flsspPh(context: Context, value: Int): Float

EN Quick resolution for Smallest Width (flssp), but in portrait orientation it acts as Screen Height (flhsp).

Link copied to clipboard
fun flsspPha(context: Context, value: Int): Float
Link copied to clipboard
fun flsspPhi(context: Context, value: Int): Float
Link copied to clipboard
fun flsspPhia(context: Context, value: Int): Float
Link copied to clipboard
fun flsspPw(context: Context, value: Int): Float

EN Quick resolution for Smallest Width (flssp), but in portrait orientation it acts as Screen Width (flwsp).

Link copied to clipboard
fun flsspPwa(context: Context, value: Int): Float
Link copied to clipboard
fun flsspPwi(context: Context, value: Int): Float
Link copied to clipboard
fun flsspPwia(context: Context, value: Int): Float
Link copied to clipboard
fun flsspQualifier(context: Context, value: Int, qualifiedValue: Number, qualifierType: DpQualifier, qualifierValue: Number, finalQualifierResolver: DpQualifier? = null, fontScale: Boolean = true, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): Float

EN Quick resolution for Smallest Width (swSP) conditional scaling.

Link copied to clipboard
fun flsspRotate(context: Context, value: Int, rotationValue: Number, finalQualifierResolver: DpQualifier = DpQualifier.SMALL_WIDTH, orientation: Orientation = Orientation.LANDSCAPE, fontScale: Boolean = true, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): Float

EN Facilitator for Smallest Width (flssp) with rotation override.

Link copied to clipboard
fun flsspScreen(context: Context, value: Int, screenValue: Number, uiModeType: UiModeType, qualifierType: DpQualifier, qualifierValue: Number, finalQualifierResolver: DpQualifier? = null, fontScale: Boolean = true, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): Float

EN Quick resolution for Smallest Width (swSP) context conditional scaling.

Link copied to clipboard
fun flwemPh(context: Context, value: Int): Float

EN Quick resolution for Screen Width without font scale, portrait is Screen Height.

Link copied to clipboard
fun flwemPha(context: Context, value: Int): Float
Link copied to clipboard
fun flwemPhi(context: Context, value: Int): Float
Link copied to clipboard
fun flwemPhia(context: Context, value: Int): Float
Link copied to clipboard
fun flwsp(context: Context, value: Int): Float

EN Quick resolution for Screen Width (flwsp). PT Resolução rápida para Largura da Tela (flwsp).

Link copied to clipboard
fun flwspa(context: Context, value: Int): Float
Link copied to clipboard
fun flwspi(context: Context, value: Int): Float
Link copied to clipboard
fun flwspia(context: Context, value: Int): Float
Link copied to clipboard
fun flwspLh(context: Context, value: Int): Float

EN Quick resolution for Screen Width (flwsp), but in landscape orientation it acts as Screen Height (flhsp).

Link copied to clipboard
fun flwspLha(context: Context, value: Int): Float
Link copied to clipboard
fun flwspLhi(context: Context, value: Int): Float
Link copied to clipboard
fun flwspLhia(context: Context, value: Int): Float
Link copied to clipboard
fun flwspMode(context: Context, value: Int, modeValue: Number, uiModeType: UiModeType, finalQualifierResolver: DpQualifier? = null, fontScale: Boolean = true, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): Float

EN Facilitator for Screen Width (flwsp) with UiModeType override.

Link copied to clipboard
fun flwspPh(context: Context, value: Int): Float

EN Quick resolution for Screen Width (flwsp), but in portrait orientation it acts as Screen Height (flhsp).

Link copied to clipboard
fun flwspPha(context: Context, value: Int): Float
Link copied to clipboard
fun flwspPhi(context: Context, value: Int): Float
Link copied to clipboard
fun flwspPhia(context: Context, value: Int): Float
Link copied to clipboard
fun flwspQualifier(context: Context, value: Int, qualifiedValue: Number, qualifierType: DpQualifier, qualifierValue: Number, finalQualifierResolver: DpQualifier? = null, fontScale: Boolean = true, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): Float

EN Quick resolution for Screen Width (wSP) conditional scaling.

Link copied to clipboard
fun flwspRotate(context: Context, value: Int, rotationValue: Number, finalQualifierResolver: DpQualifier = DpQualifier.WIDTH, orientation: Orientation = Orientation.LANDSCAPE, fontScale: Boolean = true, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): Float

EN Facilitator for Screen Width (flwsp) with rotation override.

Link copied to clipboard
fun flwspScreen(context: Context, value: Int, screenValue: Number, uiModeType: UiModeType, qualifierType: DpQualifier, qualifierValue: Number, finalQualifierResolver: DpQualifier? = null, fontScale: Boolean = true, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): Float

EN Quick resolution for Screen Width (wSP) context conditional scaling.

Link copied to clipboard
fun getDimensionInPx(context: Context, qualifier: DpQualifier, value: Int, fontScale: Boolean = true, inverter: Inverter = Inverter.DEFAULT, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): Float

EN Generic scaling function for Java (PX). PT Função de escala genérica para Java (PX).

Link copied to clipboard
fun getDimensionInSp(context: Context, qualifier: DpQualifier, value: Int, fontScale: Boolean = true, inverter: Inverter = Inverter.DEFAULT, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): Float

EN Generic scaling function for Java (SP value). PT Função de escala genérica para Java (valor SP).

Link copied to clipboard
fun hei(context: Context, value: Int): Float

EN Quick resolution for Screen Height without font scale.

Link copied to clipboard
fun heia(context: Context, value: Int): Float
Link copied to clipboard
fun heii(context: Context, value: Int): Float
Link copied to clipboard
fun heiia(context: Context, value: Int): Float
Link copied to clipboard
fun hemLw(context: Context, value: Int): Float

EN Quick resolution for Screen Height without font scale, landscape is Screen Width.

Link copied to clipboard
fun hemLwa(context: Context, value: Int): Float
Link copied to clipboard
fun hemLwi(context: Context, value: Int): Float
Link copied to clipboard
fun hemLwia(context: Context, value: Int): Float
Link copied to clipboard
fun hemPw(context: Context, value: Int): Float

EN Quick resolution for Screen Height without font scale, portrait is Screen Width.

Link copied to clipboard
fun hemPwa(context: Context, value: Int): Float
Link copied to clipboard
fun hemPwi(context: Context, value: Int): Float
Link copied to clipboard
fun hemPwia(context: Context, value: Int): Float
Link copied to clipboard
fun scaled(initialBaseValue: Float): FillSp

EN Starts the build chain for the custom dimension FillSp from a base Float. PT Inicia a cadeia de construção para a dimensão customizada FillSp a partir de um Float base.

fun scaled(initialBaseValue: Int): FillSp

EN Starts the build chain for the custom dimension FillSp from a base Int. PT Inicia a cadeia de construção para a dimensão customizada FillSp a partir de um Int base.

Link copied to clipboard
fun sei(context: Context, value: Int): Float

EN Quick resolution for Smallest Width (sei) - Without font scale. PT Resolução rápida para Smallest Width (sei) - Sem escala de fonte.

Link copied to clipboard
fun seia(context: Context, value: Int): Float
Link copied to clipboard
fun seii(context: Context, value: Int): Float
Link copied to clipboard
fun seiia(context: Context, value: Int): Float
Link copied to clipboard
fun semLh(context: Context, value: Int): Float

EN Quick resolution for Smallest Width without font scale, landscape is Screen Height.

Link copied to clipboard
fun semLha(context: Context, value: Int): Float
Link copied to clipboard
fun semLhi(context: Context, value: Int): Float
Link copied to clipboard
fun semLhia(context: Context, value: Int): Float
Link copied to clipboard
fun semLw(context: Context, value: Int): Float

EN Quick resolution for Smallest Width without font scale, landscape is Screen Width.

Link copied to clipboard
fun semLwa(context: Context, value: Int): Float
Link copied to clipboard
fun semLwi(context: Context, value: Int): Float
Link copied to clipboard
fun semLwia(context: Context, value: Int): Float
Link copied to clipboard
fun semPh(context: Context, value: Int): Float

EN Quick resolution for Smallest Width without font scale, portrait is Screen Height.

Link copied to clipboard
fun semPha(context: Context, value: Int): Float
Link copied to clipboard
fun semPhi(context: Context, value: Int): Float
Link copied to clipboard
fun semPhia(context: Context, value: Int): Float
Link copied to clipboard
fun semPw(context: Context, value: Int): Float

EN Quick resolution for Smallest Width without font scale, portrait is Screen Width.

Link copied to clipboard
fun semPwa(context: Context, value: Int): Float
Link copied to clipboard
fun semPwi(context: Context, value: Int): Float
Link copied to clipboard
fun semPwia(context: Context, value: Int): Float
Link copied to clipboard

EN Eagerly initializes DimenCache (persistence / DataStore) so the first resolution on a hot path avoids lazy-init work. PT Inicializa o DimenCache antecipadamente para evitar custo lazy no primeiro uso.

Link copied to clipboard
fun wei(context: Context, value: Int): Float

EN Quick resolution for Screen Width without font scale.

Link copied to clipboard
fun weia(context: Context, value: Int): Float
Link copied to clipboard
fun weii(context: Context, value: Int): Float
Link copied to clipboard
fun weiia(context: Context, value: Int): Float
Link copied to clipboard
fun wemLh(context: Context, value: Int): Float

EN Quick resolution for Screen Width without font scale, landscape is Screen Height.

Link copied to clipboard
fun wemLha(context: Context, value: Int): Float
Link copied to clipboard
fun wemLhi(context: Context, value: Int): Float
Link copied to clipboard
fun wemLhia(context: Context, value: Int): Float